/*
 * 菜单
 */
import { getRequest, postRequest } from '/src/lib/axios';

export const loginApi = {
  // 登录
  login: (param) => {
    return postRequest({
      url: '/api/oauth/token',
      params: param.params,
      header: {
        Authorization: "Basic YXBwOmFwcA=="
      }
    });
  },


  getLoginInfo: (param) => {
    return getRequest({
      url: '/sys/user/info/admin',
      params: param.params
    });
  },


};
